package com.API;

import java.text.SimpleDateFormat;

public class DateDemo03 {
    public static void main(String[] args) {
        String s = "2000-8-28";
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        String deat = sdf.format(s);
        System.out.println(s);
    }
}
